package databinding.demo.utils;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

/**
 * Created by dengdayi
 * Date: 2017/03/10 13：56
 */

public class ActivityUtils {
    /**
     * Activity启动
     *
     * @param context
     * @param aClass
     */
    public static void startActivity(Context context, Class<? extends Activity> aClass) {
        Intent intent = new Intent(context, aClass);
        context.startActivity(intent);
    }
}
